<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition>


            <div id="stylized" class="myform">
                
                <h3>Relatório po Lista</h3>

                <h:panelGrid columns="#{RelatorioController.colls}" border="1" rules="all">
                    <c:forEach items="#{RelatorioController.relatorioLista}" var="relatorioTemp" varStatus="stat" >
                        <h:outputText value="#{relatorioTemp}" escape="false" />
                    </c:forEach>
                </h:panelGrid> 
                
                <br />
                <br />
                <h3>Utilização da Ementa na Lista</h3>
                
                <h:panelGrid columns="3" border="1" rules="all">
                    <c:forEach items="#{RelatorioController.relatorioEmenta}" var="relatorioECTemp" varStatus="stat" >
                        <h:outputText value="#{relatorioECTemp}" escape="false" />
                    </c:forEach>
                </h:panelGrid> 
                
                <br />
                <br />
                <h3>Utilização do Conteudo na Lista</h3>
                
                <h:panelGrid columns="2" border="1" rules="all">
                    <c:forEach items="#{RelatorioController.relatorioConteudo}" var="relatorioCTemp" varStatus="stat" >
                        <h:outputText value="#{relatorioCTemp}" escape="false" />
                    </c:forEach>
                </h:panelGrid> 
        
                <br />
                <p:pieChart value="#{RelatorioController.pieConteudoLista}" legendPosition="w"  
                title="Gráfico de Utilização do Conteúdo na Lista" style="width:400px;height:300px" /> 
                

            </div>
        </ui:composition>
        
        

        
        

    </body>
</html>
